package com.shycloud.mido.member.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName(value = "sm_courseware_group")
public class SmCoursewareGroup {
	/**
	 * 主键id
	 */
	@TableId(value = "id", type = IdType.AUTO)
	private Integer id;

	/**
	 * 分组名称
	 */
	@TableField(value = "`name`")
	private String name;

	/**
	 * 用户id
	 */
	@TableField(value = "member_id")
	private String memberId;

	/**
	 * 备注
	 */
	@TableField(value = "`comment`")
	private String comment;

	/** 排序 */
	@TableField(value = "sort")
	private Integer sort;

	public static final String COL_ID = "id";

	public static final String COL_NAME = "name";

	public static final String COL_MEMBER_ID = "member_id";

	public static final String COL_COMMENT = "comment";
}